package com.shelpe.services.sinbad.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.shelpe.services.sinbad.entity.jpa.User;

import lombok.Data;

@Data
public class UserViewDto {

	private String nick;
	@JsonProperty("user_id")
	private long userID;

	public void from(User po) {
		this.nick = po.getNick();
		this.userID = po.getUserID();
	}
}
